package com.example.kugou.vo;

import com.example.kugou.pojo.Singer;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import java.util.List;

@ApiModel("返回歌手的VO")
public class SingerVO {
    @ApiModelProperty("信息")
    private String msg;
    @ApiModelProperty("发送信息的状态")
    private boolean status;
    @ApiModelProperty("歌手集合的对象")
    private List<Singer> singers;
    @ApiModelProperty("歌手的对象")
    private Singer singer;
    @ApiModelProperty("获取的歌手的简介，如果没有内容那么这个值不传")
    List<List<String>> lists;

    public List<List<String>> getLists() {
        return lists;
    }

    public void setLists(List<List<String>> lists) {
        this.lists = lists;
    }

    public Singer getSinger() {
        return singer;
    }

    public void setSinger(Singer singer) {
        this.singer = singer;
    }

    public SingerVO(String msg, boolean status) {
        this.msg = msg;
        this.status = status;
    }


    public SingerVO(String msg, boolean status, List<Singer> singers) {
        this.msg = msg;
        this.status = status;
        this.singers = singers;
    }

    public SingerVO() {
    }


    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public boolean isStatus() {
        return status;
    }

    public void setStatus(boolean status) {
        this.status = status;
    }

    public List<Singer> getSingers() {
        return singers;
    }

    public void setSingers(List<Singer> singers) {
        this.singers = singers;
    }

    @Override
    public String toString() {
        return "SingerVO{" +
                "msg='" + msg + '\'' +
                ", status=" + status +
                ", singers=" + singers +
                ", singer=" + singer +
                ", lists=" + lists +
                '}';
    }
}
